home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / introduction / 237 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: comma.rhein.de!yaps!arno
  2. From: arno@yaps.rhein.de (Arno Eigenwillig)
  3. Newsgroups: comp.sys.amiga.introduction
  4. Subject: Re: ToolManager loses PATH info
  5. Message-ID: <Rg37y*8Yf@yaps.rhein.de>
  6. Date: Mon, 19 Feb 1996 12:55:17 +0100
  7. FollowUp-To: poster
  8. References: <4g807g$mje@news2.delphi.com>
  9. Organization: Yet Another Private Site in Meckenheim, Germany
  10. X-Copyright: This article may not be distributed on a CD-ROM
  11.  or in printed form without prior written consent of the author.
  12. X-Newsreader: Arn V 1.04
  13.  
  14. In article <4g807g$mje@news2.delphi.com>, TAOBERLY@DELPHI.COM writes:
  15.  
  16. > I've noticed that when I start a shell from the
  17. > menu, the Workbench Path information specified in my startup-sequence
  18. > is not passed-on.
  19.  
  20. > I have it set as a WorkBench
  21. > Exec Type, which I thought would work the same as starting the shell
  22. > from the Workbench icon (which works fine).
  23.  
  24. Workbench does not pass on path information when starting programs in
  25. Workbench-style. SYS:System/CLI (which is the default tool of the
  26. Shell icon) apparenty does some (not too hard to guess) magic to find
  27. out about the path anyway, but it seems to fail in your configuration.
  28.  
  29. The cure is simple: Let your Exec object for the shell invoke the
  30. command NewShell in CLI mode. Works fine with TM 2.1, your mileage may
  31. vary for older versions. It is mandatory, of course, that your PATH is
  32. set before TM is started (be it from User-Startup, Startup-Sequence or
  33. WBStartup).
  34.  
  35. BTW: Aliases are inherited just like the path. Setting aliases once in
  36. User-Startup and having user shells inherit them speeds up starting
  37. shells *a* *lot* compared to the usual method of having aliases defined
  38. in Shell-Startup.
  39.  
  40. Please Followup-To: poster; I'm outta this newsgroup for some time.
  41.  
  42. -- __
  43. __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
  44. \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
  45.               :-( Reduced net.presence until June 1996. )-:
  46.